#include <iostream>
using namespace std;
int main()
{
	double n, m;
	cin >> n >> m;
	if(m == 0)
	{
		cout << n;
		cout << "/";
		if(m >= 0)
			cout << m;
		else
			cout << "(" << m << ")";
		cout << "=Error";
	}
	else
	{
		cout << n;
		cout << "/";
		if(m >= 0)
			cout << m;
		else
			cout << "(" << m << ")";
		printf("=%.2f", n/m);
	}
	return 0;
}